home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
misc
/
elcheapofax.lha
/
Hook.s
< prev
next >
Wrap
Text File
|
1993-04-02
|
369b
|
15 lines
.text
.globl _HookEntry
h_SubEntry = 12
_HookEntry:
movl a6,sp@-
movl a1,sp@- | ; push message packet pointer
movl a2,sp@- | ; push object pointer
movl a0,sp@- | ; push hook pointer
movl a0@(h_SubEntry),a0 | ; fetch C entry point ...
jsr a0@ | ; ... and call it
lea sp@(12),sp | ; fix stack
movl sp@+,a6
rts